export const goodsRoutes: VabRouteRecord[] = [
  {
    path: '/goods',
    name: 'Goods',
    component: 'Layout',
    meta: {
      title: '商品',
      icon: 'shopping-bag-3-line',
    },
    children: [
      {
        path: 'goodsCategory',
        name: 'GoodsCategory',
        component: '/@/views/goods/goodsCategory.vue',
        meta: {
          title: '商品分类',
        },
      },
      {
        path: 'goodsRecord',
        name: 'GoodsRecord',
        component: '/@/views/goods/goodsRecord.vue',
        meta: {
          title: '商品档案',
        },
      },
      {
        path: 'goodsRecordEdit',
        name: 'GoodsRecordEdit',
        component: '/@/views/goods/goodsRecord/goodsRecordEdit.vue',
        meta: {
          title: '商品明细',
          hidden: true,
          noKeepAlive: false,
          noClosable: false,
        },
      },
    ],
  },
]
